var express = require('express');
var router = express.Router();

var {Chmodel}  = require('../model/ch')

router.get('/ch',async(req,res)=>{
  const chdata = await Chmodel.find()
  res.send({
    code:200,
    msg:"请求成功",
    chdata
  }) 
})

module.exports = router